package learninganalytics;

import managesystem.Student;
import administration.Admin;

import com.googlecode.objectify.ObjectifyService;

import controlsystem.CourseDescription;
/**
 * Registreer Entiteitsklassen.
 * 
 * @author Incalza Dario
 *
 */
public class Register {
        private static boolean registered = false;
        /**
         * Registreer de Entiteit klassen die gepersisteerd kunnen worden bij de ObjectifyService.
         */
        public static void init(){
                
                if(registered ==false){
                        ObjectifyService.register(Student.class);
                        ObjectifyService.register(Admin.class);
                        ObjectifyService.register(CourseDescription.class);
                        registered=true;
                }
        }
}
